<template>
	<div class="addressTwo">
		<view class="left">
			{{state}}
		</view>
		<view class="right">
			<text>{{name}}{{phone}}</text>
			<text>{{address}}</text>
		</view>
	</div>
</template>

<script>
export default {
	name:'addressTwo',
	data(){
		return{
			
		}
	},
	props:{
		state:{
			type:String,
			default:''
		},
		name:{
			type:String,
			default:''
		},
		phone:{
			type:String,
			default:''
		},
		address:{
			type:String,
			default:''
		}
	},
	methods:{
		
	}
}
</script>

<style scoped lang="scss">
	.addressTwo{
		width: 100vw;
		padding: 30rpx;
		background-color: #fff;
		display: flex;
		align-items: center;
		.left{ 
			background: #367fff;
			border-radius: 4rpx;
			padding: 10rpx;
			margin-right: 25rpx;
			color: #fff;
		}
		.right{
			display: flex;
			flex-direction: column;
			text:first-child{
				font-size: 32rpx;
				font-weight: 700;
				color: #111111;
				margin-bottom: 10rpx;
				width: 600rpx;
				overflow: hidden;
				-webkit-line-clamp: 1;
				text-overflow: ellipsis;
				display: -webkit-box;
				-webkit-box-orient: vertical;
			}
			text:last-child{
				width: 603rpx;
				font-size: 28rpx;
				font-weight: 500;
				color: #666666;
				overflow: hidden;
				-webkit-line-clamp: 2;
				text-overflow: ellipsis;
				display: -webkit-box;
				-webkit-box-orient: vertical;
			}
		}
	}
</style>
